package com.aaa.entity;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2022/8/22 11:51
 * @description：
 * @modified By：
 * @version:
 */
public class PersonTest {
    public static void main(String[] args) {
    /*    Person person1 = new Person();
        Person person2 = new Person();*/
        Person person1 = Person.getInstance();
        Person person2 =Person.getInstance();
        System.out.println(person1);
        System.out.println(person2);
        System.out.println(person1==person2);
    }
}
